package model;

/**
 * 顾客实体类
 */
public class Customer {
    private String customerId;    // 顾客编号
    private String name;          // 姓名
    private String phone;         // 电话
    private boolean isMember;     // 是否会员
    private double memberPoints;  // 会员积分
    private String password;      // 密码
    
    // 构造方法
    public Customer() {}
    
    public Customer(String customerId, String name, String phone, boolean isMember, double memberPoints, String password) {
        this.customerId = customerId;
        this.name = name;
        this.phone = phone;
        this.isMember = isMember;
        this.memberPoints = memberPoints;
        this.password = password;
    }
    
    // getter和setter方法
    public String getCustomerId() {
        return customerId;
    }
    
    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getPhone() {
        return phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }
    
    public boolean isMember() {
        return isMember;
    }
    
    public void setMember(boolean member) {
        isMember = member;
    }
    
    public double getMemberPoints() {
        return memberPoints;
    }
    
    public void setMemberPoints(double memberPoints) {
        this.memberPoints = memberPoints;
    }
    
    public String getPassword() {
        return password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
}
    